package com.aisile.pojogroup;

import com.aisile.pojo.TbSpecification;
import com.aisile.pojo.TbSpecificationOption;

import java.io.Serializable;
import java.util.List;

public class Specification implements Serializable {

    //1.规格的主表

    private TbSpecification spec;

    //2.规格的选项

    private List<TbSpecificationOption> specOptionList;


    /*public TbSpecification getSpec() {
        return spec;
    }

    public void setSpec(TbSpecification spec) {
        this.spec = spec;
    }

    public List<TbSpecificationOption> getSpecOptionList() {
        return specOptionList;
    }

    public void setSpecOptionList(List<TbSpecificationOption> specOptionList) {
        this.specOptionList = specOptionList;
    }

    public Specification(TbSpecification spec) {
        this.spec = spec;
    }

    public Specification() {
    }

    public Specification(List<TbSpecificationOption> specOptionList) {
        this.specOptionList = specOptionList;
    }
*/

    public TbSpecification getSpec() {
        return spec;
    }

    public void setSpec(TbSpecification spec) {
        this.spec = spec;
    }

    public Specification(TbSpecification spec) {
        this.spec = spec;
    }

    public Specification() {
    }




    public Specification(List<TbSpecificationOption> specOptionList) {
        this.specOptionList = specOptionList;
    }

    public List<TbSpecificationOption> getSpecOptionList() {
        return specOptionList;
    }

    public void setSpecOptionList(List<TbSpecificationOption> specOptionList) {
        this.specOptionList = specOptionList;
    }

    public Specification(TbSpecification spec, List<TbSpecificationOption> specOptionList) {
        this.spec = spec;
        this.specOptionList = specOptionList;
    }

}
